package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 服务调查对象 survey
 * 
 * @author ruoyi
 * @date 2023-03-03
 */
public class Survey extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 服务调查id */
    private Long surveyId;

    /** 调查对象 */
    @Excel(name = "调查对象")
    private String respondent;

    /** 调查主题 */
    @Excel(name = "调查主题")
    private String surveySubject;

    /** 调查人 */
    @Excel(name = "调查人")
    private String investigator;

    /** 调查时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "调查时间", width = 20, dateFormat = "yyyy-MM-dd")
    private Date surveyTime;

    /** 状态 */
    @Excel(name = "状态",readConverterExp = "0=未调查,1=已调查")
    private Long surveyStatus;

    /** 调查结果 */
    @Excel(name = "调查结果")
    private String surveyResult;

    /** 删除状态 */
//    @Excel(name = "删除状态")
    private Long fakeDelete;

    public void setSurveyId(Long surveyId) 
    {
        this.surveyId = surveyId;
    }

    public Long getSurveyId() 
    {
        return surveyId;
    }
    public void setRespondent(String respondent) 
    {
        this.respondent = respondent;
    }

    public String getRespondent() 
    {
        return respondent;
    }
    public void setSurveySubject(String surveySubject) 
    {
        this.surveySubject = surveySubject;
    }

    public String getSurveySubject() 
    {
        return surveySubject;
    }
    public void setInvestigator(String investigator) 
    {
        this.investigator = investigator;
    }

    public String getInvestigator() 
    {
        return investigator;
    }
    public void setSurveyTime(Date surveyTime) 
    {
        this.surveyTime = surveyTime;
    }

    public Date getSurveyTime() 
    {
        return surveyTime;
    }
    public void setSurveyStatus(Long surveyStatus)
    {
        this.surveyStatus = surveyStatus;
    }

    public Long getSurveyStatus()
    {
        return surveyStatus;
    }
    public void setSurveyResult(String surveyResult) 
    {
        this.surveyResult = surveyResult;
    }

    public String getSurveyResult() 
    {
        return surveyResult;
    }
    public void setFakeDelete(Long fakeDelete) 
    {
        this.fakeDelete = fakeDelete;
    }

    public Long getFakeDelete() 
    {
        return fakeDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("surveyId", getSurveyId())
            .append("respondent", getRespondent())
            .append("surveySubject", getSurveySubject())
            .append("investigator", getInvestigator())
            .append("surveyTime", getSurveyTime())
            .append("surveyStatus", getSurveyStatus())
            .append("surveyResult", getSurveyResult())
            .append("fakeDelete", getFakeDelete())
            .toString();
    }
}
